package com.ets.Address_DAO;

import java.util.ArrayList;

/*------------------------------------------------------------------------------
 <big><b>AddressIO</b></big> interface, that defines the methods available for
 use with the <big><b>Address</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
------------------------------------------------------------------------------*/
public interface AddressIO
  {
   // Address reader methods
   boolean existsAddress (int addr);
   Address getAddress    (int addr);
   boolean getAddresses  (ArrayList<Address> addrs);

   // Address writer methods
   boolean addAddress    (Address addr);
   boolean updateAddress (Address addr);
   boolean deleteAddress (Address addr);
  }
